package com.ecb.business.dto.chain;

import lombok.Data;

@Data
public class ChainNodeDTO {
    private int id;
    private String nodeAddr;
    private int connCnt;
    private boolean enableTls;
    private String tlsHostName;
    private String nodeCrt;
    private String nodeKey;
    private String nodeSignCrt;
    private String nodeSignKey;

}
//            {
//                "connCnt": 10,
//                "conn_cnt": 10,
//                "enableTls": true,
//                "enable_tls": true,
//                "nodeAddr": "192.168.129.9:12301",
//                "node_addr": "192.168.129.9:12301",
//                "tlsHostName": "chainmaker.org",
//                "tls_host_name": "chainmaker.org",
//                "trustRootPaths": [
//                    "/Users/wtlu/ep/other/sdk-java-demo-v2.3.1.3/src/main/resources/crypto-config/TestCMorg1/ca"
//                ],
//                "trust_root_paths": [
//                    "/Users/wtlu/ep/other/sdk-java-demo-v2.3.1.3/src/main/resources/crypto-config/TestCMorg1/ca"
//                ]
//            }
//}